Skip to main content

Text-to-Speech

This API converts text to speech.

Header Parameters
    Content-Type string

    The content type should be application/json.

    Example: application/json
    User-Agent string

    Specifies the user agent string.

    Example: iOS
    x-client string

    Specifies the client name

    Example: jiocoupons
    Authorization string required

    API key for authorization.

Request Body
    input object
    text string required

    The text to be converted to speech.

    language string required
    • The language of the input text.
      • Supported languages: [ "English", "Hindi", "Gujarati", "Marathi", "Telugu", "Bengali", "Kannada", "Malayalam", "Tamil", "Spanish", "German", "Italian", "French", "Urdu", "Punjabi", "Assamese", "Oriya", "Standard Arabic", "Traditional Chinese", "Bahasa", "Dutch", "Korean", "Malay", "Polish", "Portuguese", "Russian", "Simplified Chinese", "Tagalog", "Thai", "Turkish", "Vietnamese" ]
    gender string

    The gender of the voice.

    platform string

    Possible values: [jiotranslate, google, azure, dubverse]

    Platform used for translation

    audioConfig object
    audioEncoding string required

    The encoding format for the audio output.

Responses

Success


Schema
    audioContent string

    The base64-encoded audio content.

Loading...